package com.wgl.order;

import com.wgl.model.vo.order.OrderCountQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @author wgl
 * @version 1.0.0
 * @ClassName OrderFeignClient.java
 * @Description TODO
 * @createTime 2022年02月16日 15:45:00
 */
@Component
@FeignClient(value = "service-order")
public interface OrderFeignClient {

    @PostMapping("/api/order/orderInfo/inner/getCountMap")
    public Map<String, Object> getCountMap(@RequestBody OrderCountQueryVo orderCountQueryVo);
}
